home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / trueSpace 7.6 / tS761B8Std.exe / {app} / Scripts / MaterialEditor / Bricks / Functions / log10.HLSL.Brick.xml < prev    next >
Extensible Markup Language  |  2008-06-10  |  1KB  |  27 lines

  1. <?xml version="1.0" encoding="utf-8" ?> 
  2. <ME_BRICK GUID="{E2EE8378-D973-4A1E-8C62-1E9C74E631EC}" Name="RtLog10" GUIName="Log10" Description="Returns the base-10 logarithm of X (Per component) [log10]">
  3.     <ME_BRICK_INPUTPARAM GUID="{C5E0351B-8A8C-4BFE-8D71-F52ABCF2656E}" Name="Input" Type="RtNumeric"/>
  4.     <ME_BRICK_OUTPUTPARAM GUID="{5A4E84C1-FB67-4DCD-8EBC-78C217BDE54F}" Name="Result" Type="RtNumeric"/>
  5.     <ME_BRICK_CODE><![CDATA[
  6.         void RtLog10(in RtFloat Input, out RtFloat Result) {
  7.             Result = rtx_Log10(Input);
  8.         }
  9.  
  10.         void RtLog10(in RtFloat3 Input, out RtFloat3 Result) {
  11.             Result = rtx_Log10(Input);
  12.         }
  13.  
  14.         void RtLog10(in RtFloat4 Input, out RtFloat4 Result) {
  15.             Result = rtx_Log10(Input);
  16.         }
  17.  
  18.         void RtLog10(in RtFloat3x3 Input, out RtFloat3x3 Result) {
  19.             Result = rtx_Log10(Input);
  20.         }
  21.  
  22.         void RtLog10(in RtFloat4x4 Input, out RtFloat4x4 Result) {
  23.             Result = rtx_Log10(Input);
  24.         }
  25.     ]]></ME_BRICK_CODE>
  26. </ME_BRICK>
  27.